babl: fix memory leaks on error paths
authorTobias Stoeckmann <tobias@stoeckmann.org>
Fri, 13 Oct 2017 16:32:52 +0000 (18:32 +0200)
committerØyvind Kolås <pippin@gimp.org>
Sat, 11 Nov 2017 13:07:53 +0000 (14:07 +0100)
commit23def34b96fb69cfe9ca3c8e8cee7c01383779ff
tree856782e741496aa4006cd058202278e8e7649c22
parentc411c717d5c9f4944b4419434e1b83979b4720cb
babl: fix memory leaks on error paths

The database-focused functions of babl-cache are prone to
memory leaks when errors occur.

Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
babl/babl-cache.c